[#import "/framework/JGP.htm"  as JGP]
<!--
项目   jgp-cloud-parent
作者   LOUFEI [Gavin]
时间   2018/8/8
-->
[@JGP.head "Title"/]
[@JGP.body]
     <jgp-div _row="['40','*']" _runit="px">
         <div slot="1-1">
             <jgp-btn _fn="saveCallback" _form="deskTopForm">保存</jgp-btn>
         </div>
         <jgp-form slot="2-1" _id="deskTopForm"
                   _action="/security/admin/adminDeskTopApiController/saveDeskTop"
                   _cols="12"
                   _fdata='${fdata!''}'>
             <jgp-text _name="name" _col="12"
                       _label="名称" _placeholder="名称" _required="true"></jgp-text>
             <jgp-text _name="link" _col="12"
                       _label="链接" _placeholder="链接" _required="true"></jgp-text>

             <jgp-area _name="remark" _col="12" _label="说明" _placeholder="说明"></jgp-area>
         </jgp-form>
     </jgp-div>
[/@JGP.body]

[@JGP.foot]

    <script>

        function saveCallback(result){
            if(result.back.flag){
                JGP.$close(result.back.flag);
            }
        }

    </script>

[/@JGP.foot]